deploy: call syncfs() for /ostree instead of /
authorEtienne Champetier <e.champetier@ateme.com>
Mon, 18 Aug 2025 21:41:37 +0000 (17:41 -0400)
committerEtienne Champetier <e.champetier@ateme.com>
Mon, 18 Aug 2025 21:42:16 +0000 (17:42 -0400)
commit6e5a27a29d33d50a2a4380c406405435d919b6b4
tree395745217b6a03da0f467b5709d20c4ed9fe9255
parent88f1176df71e6c00a823900dcb1b4f9347aa8e8d
deploy: call syncfs() for /ostree instead of /

In full_system_sync we were calling syncfs(/) expecting
all the recent modification in /ostree to be synced to disk.
With / now being composefs, syncfs(/) is a noop, so call
syncfs(/ostree) as that is what we really want.
src/libostree/ostree-sysroot-deploy.c